<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>五指山污水处理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/huazhi/lib/layui-v2.5.5/css/layui.css" media="all">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/huazhi/css/public.css" media="all">
    <link rel="shortcut icon" href="<%=request.getContextPath()%>/huazhi/images/favicon.ico"/>
</head>
<style>
    /* 重置轮播样式 */
    .layadmin-carousel {
        height: 185px !important;
        background-color: #fff;
    }

    .layadmin-carousel .layui-carousel-ind li {
        background-color: #e2e2e2;
    }

    .layadmin-carousel .layui-carousel-ind li:hover {
        background-color: #c2c2c2;
    }

    .layadmin-carousel .layui-carousel-ind li.layui-this {
        background-color: #999;
    }

    .layadmin-carousel .layui-carousel,
    .layadmin-carousel > *[carousel-item] > * {
        background-color: #fff;
    }

    .layadmin-carousel .layui-col-space10 {
        margin: 0;
    }

    .layadmin-carousel .layui-carousel-ind {
        position: absolute;
        top: -41px;
        text-align: right;
    }

    .layadmin-carousel .layui-carousel-ind ul {
        background: none;
    }

    .layadmin-backlog .layadmin-backlog-body {
        display: block;
        padding: 10px 15px;
        background-color: #f8f8f8;
        color: #999;
        border-radius: 2px;
        transition: all .3s;
        -webkit-transition: all .3s;
    }

    .layadmin-backlog-body h3 {
        padding-bottom: 10px;
        font-size: 12px;
    }

    .layadmin-backlog-body p cite {
        font-style: normal;
        font-size: 30px;
        font-weight: 300;
        color: #009688;
    }

    .layadmin-backlog-body:hover {
        background-color: #f2f2f2;
        color: #888;
    }

    .divhtml {
        line-height: 20px;
        padding: 9px 0px;
        text-align: left;
        position: relative;
        display: block;
        float: left;
        font-weight: 400;
    }

    .layui-form-label {
        width: 180px;
    }

    .layui-input-block {
        margin-left: 210px;
    }
</style>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body" style="padding: 0px;">
            <form class="layui-form" lay-filter="component-form-element">
                <div class="layui-tab layui-tab-card">
                    <ul class="layui-tab-title">
                        <li class="layui-this">基本信息</li>
                    </ul>
                    <div class="layui-tab-content">
                        <div class="layui-tab-item layui-show">
                            <div class="layui-row" >
                                <div class="layui-col-md12" style="padding-top:0px;">
                                    <div class="layui-col-md12" style="padding-bottom:0px;">
                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">相关规定: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="stipulate">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">制度条款: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="system">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-row layui-col-space8" id="doman4image">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script src="<%=request.getContextPath()%>/huazhi/lib/layui-v2.5.5/layui.all.js"></script>
<script src="<%=request.getContextPath()%>/huazhi/js/lay-config.js?v=1.0.4" charset="utf-8"></script>
<script>
    function child(tid) {
        layui.use(['form', 'laydate', 'carousel'], function () {
            var $ = layui.$
                , form = layui.form
                , laydate = layui.laydate
                , layer = layui.layer,
                carousel = layui.carousel;

            $.ajax({
                type: "get",
                url: "<%=request.getContextPath()%>/rest/base/getArchivesByTid",
                data: "tid=" + tid,
                dataType: "json",
                async: false,
                success: function (data) {
                    $("#stipulate").html(data.stipulate);
                    $("#system").html(data.system);
                }
            });


        });
    }
</script>
</body>
</html>